package com.cloudkinto.service.platform.sync.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class PlatformOrderSyncRecordRes {
    private Long id;

    private String platformCode;

    private Long storeId;

    private String storeCode;

    @ApiModelProperty("同步设定开始时间")
    private Date beginTime;


    @ApiModelProperty("同步设定结束时间")
    private Date endTime;

    @ApiModelProperty("同步执行时间")
    private Date executeTime;

    @ApiModelProperty("同步完成时间")
    private Date finishTime;

    private Integer syncType;

    /**
     * 同步状态 等待同步 同步中 同步成功 同步失败
     */
    @ApiModelProperty("同步状态 0等待同步 1同步中 2同步成功 3同步失败")
    private Integer syncStatus;


    private Integer syncCount;

    @ApiModelProperty("同步失败原因")
    private String failReason;


    @ApiModelProperty("同步订单数")
    private Integer orderCount;

    @ApiModelProperty("创建时间")
    private Date createTime;

    private Long createBy;

    private Date updateTime;

    private Date updateBy;

}
